<template>
  <div class="content">
    <a-result status="403" subtitle="你无权限访问该页面, 请登陆后重试">
      <template #extra>
        <a-space>
          <a-button type="primary" @click="jumpToHome">返回主页</a-button>
        </a-space>
      </template>
    </a-result>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";

const rouer = useRouter();

let jumpToHome = () => {
  rouer.push("/");
};
</script>

<style scoped lang="css">
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -95px;
  margin-top: -121px;
  text-align: center;
}
</style>
